<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
//			var reg = /\d{11}/;
//			var num = 23845479970;
//			var re = reg.test(num);
//			console.log(re);
			
//			[^]除了
//			/^/开始
//			/$/结束
			var reg = /^1(38|39|85|30|86)\d{8}$/;
			var num = '1113845479970';
			var re = reg.test(num);
			console.log(re);
		</script>
	</head>
	<body>
	</body>
</html>
